<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="commonJS::commonJsCss('数据同步')">
    <meta charset="UTF-8">
    <title>数据同步</title>

</head>
<body ng-app="billingDataMoveApp" ng-controller="billingDataMoveCtrl" ng-init="init()">
<!--通用头部-->
<div th:replace="head::header" ></div>
<div th:replace="menu::menu" ></div>
<style>
    .form-btn-move {
        border: none;
        padding: 0 12px;
        color: #fff;
        background-color: #1ea4ff;
        height: 32px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
    }
    .boxcss{
        border: 1px solid grey;
        padding-bottom: 10px;
        margin-top: 10px;
    }
    .boxtitle{
        height: 220px;
    }
    .boxtitle p{
        margin-left: 40px;
    }
    .row{
        padding-left: 20px;
    }
    #tip1{
        padding-top: 10px;
        width: 410px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: none;
    }
    #tip2{
        padding-left: 28px;
        width: 410px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: none;
    }
</style>
<div style="height: 91%">
    <div class="form-table" style="width: 88%;min-height: 663px;height: 100%">
        <div class="row">
            <div class="col-md-12 boxcss">
                <div class="col-md-12 boxtitle">
                    <h3>基础数据：</h3>
                    <p>1. 部门数据</p>
                    <p>2. 用户数据</p>
                    <p>3. 航司数据</p>
                    <p>4. 机场数据</p>
                </div>
                <div class="col-md-12" style="text-align: right">
                    <button class="form-btn-move" data-ng-click="movebase()">同步</button>
                </div>
            </div>

        </div>
        <div class="row">
            <div class="col-md-12 boxcss">
                <div class="col-md-12 boxtitle">
                    <h3>舱单/名单数据：</h3>
                    <p>开始日期：
                        <input id="startDate" name="startDate" size="25" type="text" class="Wdate"
                               onClick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endDate\')}',onpicked:function(){$(this).trigger('change')}})"
                               data-ng-model="startDate" readonly/>
                        结束日期：
                        <input id="endDate" name="endDate" size="25" type="text" class="Wdate"
                               onClick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startDate\')}',onpicked:function(){$(this).trigger('change')}})"
                               data-ng-model="endDate" readonly/></p>
                </div>

                <div class="col-md-12" style="text-align: right">
                    <button class="form-btn-move" data-ng-click="movelsandps()">同步</button>
                </div>
            </div>

        </div>
        <div class="row">
            <div class="col-md-12">
                <p id="tip1">注：基础数据最新更新时间：2020-06-18 15:33:89</p>
                <p id="tip2">舱单更新失败日期：2020-06-19;2020-06-20;2020-06-30...</p>
            </div>
        </div>
    </div>

</div>

<div th:replace="footer::footer" ></div>
</body>
<script type="text/javascript" th:src="@{/js/datamove/BillingDataMoveModule.js}"></script>
<script type="text/javascript" th:src="@{/js/common/cookieUtil.js}"></script>
<script type="text/javascript" th:src="@{/js/datamove/BillingDataMoveService.js}"></script>
<script type="text/javascript" th:src="@{/js/datamove/BillingDataMoveController.js}"></script>
<!--时间插件-->
<script type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}" charset="UTF-8"></script>
</html>